package day06homework1;

public class CarTest2 {
    public static void main(String[] args) {
        Car lbjn = new Car();
        lbjn.brand = "兰博基尼";
        lbjn.color = "紫";
        lbjn.price = 1000000.33;
        lbjn.capacity = 2;
        lbjn.start();
        lbjn.run();
        lbjn.stop();
        System.out.println("-------");


        Car mjd = new Car("布加迪","黑灰",20000000,2);
        mjd.stop();
        mjd.run();
        mjd.start();
    }
}
